#pragma once

class CLexer_Token
{
public:
	enum TYPE
	{
		ttSymbol,
		ttString,
		ttNumber,
		ttOperator,
		ttNote,
		ttSpace,
		ttEnter,
	};

	CLexer_Token() : content(0),length(0){}
	CLexer_Token(LPTSTR _content,int _length,TYPE _type) : content(_content),length(_length),type(_type){}

	inline LPTSTR Content()
	{
		return content;
	}

	inline int Length()
	{
		return length;
	}

	inline TYPE Type()
	{
		return type;
	}
protected:
	LPTSTR content;
	int length;
	TYPE type;
};